package cn.cymym.domain;

import java.sql.Date;
import java.sql.Timestamp;

public class Product {
	private Integer id;
	private String productNumber;
	private String proName;
	private int type;
	private String imgName;
	private String imgPath;
	private float price;
	private float originalPrice;
	private Timestamp timeMarket;
	private Date year;
	private String size;
	private String texture;
	private String note;
	private int qty;
	private int isPreferred;
	private String prodescribe;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProductNumber() {
		return productNumber;
	}

	public void setProductNumber(String productNumber) {
		this.productNumber = productNumber;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getImgName() {
		return imgName;
	}

	public void setImgName(String imgName) {
		this.imgName = imgName;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public float getOriginalPrice() {
		return originalPrice;
	}

	public void setOriginalPrice(float originalPrice) {
		this.originalPrice = originalPrice;
	}

	public Timestamp getTimeMarket() {
		return timeMarket;
	}

	public void setTimeMarket(Timestamp timeMarket) {
		this.timeMarket = timeMarket;
	}

	public Date getYear() {
		return year;
	}

	public void setYear(Date year) {
		this.year = year;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getTexture() {
		return texture;
	}

	public void setTexture(String texture) {
		this.texture = texture;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getQty() {
		return qty;
	}

	public void setQty(int qty) {
		this.qty = qty;
	}

	public int getIsPreferred() {
		return isPreferred;
	}

	public void setIsPreferred(int isPreferred) {
		this.isPreferred = isPreferred;
	}
	public String getProdescribe() {
		return prodescribe;
	}

	public void setProdescribe(String prodescribe) {
		this.prodescribe = prodescribe;
	}

	public Product() {
		super();
	}

	

	public Product(Integer id, String productNumber, String proName, int type, String imgName, String imgPath,
			float price, float originalPrice, Timestamp timeMarket, Date year, String size, String texture, String note,
			int qty, int isPreferred, String prodescribe) {
		super();
		this.id = id;
		this.productNumber = productNumber;
		this.proName = proName;
		this.type = type;
		this.imgName = imgName;
		this.imgPath = imgPath;
		this.price = price;
		this.originalPrice = originalPrice;
		this.timeMarket = timeMarket;
		this.year = year;
		this.size = size;
		this.texture = texture;
		this.note = note;
		this.qty = qty;
		this.isPreferred = isPreferred;
		this.prodescribe = prodescribe;
	}

	@Override
	public String toString() {
		return "Product [id=" + id + ", productNumber=" + productNumber + ", proName=" + proName + ", type=" + type
				+ ", imgName=" + imgName + ", imgPath=" + imgPath + ", price=" + price + ", originalPrice="
				+ originalPrice + ", timeMarket=" + timeMarket + ", year=" + year + ", size=" + size + ", texture="
				+ texture + ", note=" + note + ", qty=" + qty + ", isPreferred=" + isPreferred + ", prodescribe="
				+ prodescribe + "]";
	}

	
	
}
